package org.dyndns.ihippo.framework.osgi.spring.dm.timeservice.impl;

import java.text.SimpleDateFormat;
import java.util.Date;

import org.dyndns.ihippo.framework.osgi.spring.dm.timeservice.TimeService;

public class TimeServiceImpl implements TimeService {
	
	@Override
	public String getCurrentTime() {
		SimpleDateFormat dateFormat = new SimpleDateFormat("yyyyMMdd HH:mm:ss");
		return dateFormat.format(new Date());
	}

}
